package com.example.tests;

import org.testng.annotations.Test;

import com.example.utils.SortedListOf;

public class ContactPrintPhonesTests extends TestBase {
	
	@Test
	public void checkPrintedData() throws Exception {

		// get list of contacts
		SortedListOf<ContactData> contactList = app.getContactHelper().getUiContacts();
		int index = 0;

	 	for (ContactData contact:contactList) {
	 		app.getContactHelper().verifyContactDetails(contact, index);
			index++;
	 	}
	}

}
